﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace Aioms.Models
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("inspection_point_option")]
    public class InspectionOption
    {
        public InspectionOption()
        {
            this.Created = DateTime.Now;
            this.Updated = DateTime.Now;
        }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
        public int Id { get; set; }

        /// <summary>
        /// Desc:企业id
        /// Default:
        /// Nullable:True
        /// </summary>     
        [SugarColumn(ColumnName = "eid")]
        public int Eid { get; set; }

        /// <summary>
        /// Desc:巡检点id
        /// Default:
        /// Nullable:True
        /// </summary> 
        [SugarColumn(ColumnName = "ipid")]
        public int Ipid { get; set; }

        /// <summary>
        /// Desc:巡检步骤
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(ColumnName = "procedure")]
        public string Procedure { get; set; }

        /// <summary>
        /// Desc:记录方式
        /// Default:
        /// Nullable:True
        /// </summary>  
        [SugarColumn(ColumnName = "record")]
        public string Record { get; set; }

        /// <summary>
        /// Desc:选项
        /// Default:
        /// Nullable:True
        /// </summary>      
        [SugarColumn(ColumnName = "option")]
        public string Option { get; set; }

        /// <summary>
        /// Desc:图片
        /// Default:
        /// Nullable:True
        /// </summary>   
        [SugarColumn(ColumnName = "image")]
        public string Image { get; set; }

        /// <summary>
        /// Desc:视频
        /// Default:
        /// Nullable:True
        /// </summary>   
        [SugarColumn(ColumnName = "video")]
        public string Video { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>    
        [SugarColumn(ColumnName = "created")]
        public DateTime? Created { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>     
        [SugarColumn(ColumnName = "updated")]
        public DateTime? Updated { get; set; }

    }
}
